package com.yanqu.road.server.logic.recharge.limit;

import com.yanqu.road.entity.config.goods.MallInfo;
import com.yanqu.road.entity.mall.LimitBuyResult;

public class IngotsMallLimit extends BaseRMBMallLimit {
    public IngotsMallLimit(long userId, MallInfo mallInfo) {
        super(userId, mallInfo);
    }

    @Override
    protected boolean isSystemUnLock() {
        return true;
    }

    @Override
    protected LimitBuyResult buyCountLimit() {
        LimitBuyResult limitBuyResult = new LimitBuyResult();
        limitBuyResult.setLimitCount(Integer.MAX_VALUE);
        return limitBuyResult;
    }

    @Override
    protected int logicCheck() {
        return 0;
    }
}
